import {request} from './request'

export function newsList(data) {
   return request({
     url:'/news/newsList',
     method:'post',
     data:data
   })
}

export function newsDetail(data) {
  return request({
    url:`/news/newsDetail/${data}`
  })
}